API - Uploads namespace

Function Summary
cot_file_checkChecks a file to be sure it is valid
cot_get_uploadmaxReturns maximum size for uploaded file, in KiB (allowed in php.ini, and may be allowed in .htaccess)
cot_safenameStrips all unsafe characters from file base name and converts it to latin